package com.wj.tool.config.wx;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @description: 保存微信授权信息相关参数
 * @author: wj
 * @create: 2022/8/11 13:47
 */
@ApiModel
public class UserRequestVO {

    /**
     * openId
     */
    @ApiModelProperty("openId")
    @NotBlank(message = "openId不能为空")
    private String openId;

    /**
     * 用户昵称
     */
    @ApiModelProperty("用户昵称")
    private String nickName;

    /**
     * 手机号
     */
    @ApiModelProperty("手机号")
    private String phone;

    /**
     * 用户头像地址
     */
    @ApiModelProperty("用户头像地址")
    private String avatarUrl;

    /**
     * 用户所在国家
     */
    @ApiModelProperty("用户所在国家")
    private String country;

    /**
     * 用户所在省份
     */
    @ApiModelProperty("用户所在省份")
    private String province;

    /**
     * 用户所在城市
     */
    @ApiModelProperty("用户所在城市")
    private String city;

    /**
     * 性别
     */
    @ApiModelProperty("性别")
    private String gender;

    /**
     * 语言
     */
    @ApiModelProperty("语言")
    private String language;

    @ApiModelProperty("小区id")
    private long estateId;

    @ApiModelProperty("小区名称")
    private String estateName;

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public long getEstateId() {
        return estateId;
    }

    public void setEstateId(long estateId) {
        this.estateId = estateId;
    }

    public String getEstateName() {
        return estateName;
    }

    public void setEstateName(String estateName) {
        this.estateName = estateName;
    }
}

